
<!DOCTYPE html>
<html>
<!--Made By kailuosoft.com, TEL 171 9992 9517 -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>凯络科技后台管理系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

     <link rel="shortcut icon" href="favicon.ico"> <link href="__PUBLIC__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style.min862f.css?v=4.1.0" rel="stylesheet">
	<link href="__PUBLIC__/css/page.css" rel="stylesheet">
    <link href="__PUBLIC__/css/new.css" rel="stylesheet">
	<script src="__PUBLIC__/js/jquery.min63b9.js?v=2.1.4"></script>
    <script src="__PUBLIC__/js/plugins/layer/layer.min.js"></script>
    
   
    <script>
	   $(document).ready(function(){
		     $('#submit').click(function(){
				  shop=$('#shop').val();
				  goods=$('#goods').val();
				  
				  if(shop=='')
				  {
					  layer.alert('请选择销售平台');
					  return false;
				  }
				  
				  if(goods=='')
				  {
					  layer.alert('请选择商品');
					  return false;
				  }
			  })
			  
			 $('#shop').change(function(){
				    shop=$(this).val();
					$.ajax({
						 url:'shop_goods',
						 type:'POST',
						 //dataType:'json',
						 data:'shop='+shop,
						 success:function(res){
							     
								 $('#goods').html(res);
						    }
							 
					  })
			   })
		 })
    </script>
	
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                           <h5>账号管理</h5>
                        
                    </div>
                    <div class="ibox-content">
                        <form class="form-horizontal m-t" id="edit_authority" action="{:U('stock_add')}" method="post">
                            
                            <div class="form-group">
                                <label class="col-sm-3 control-label">用户名：</label>
                                <div class="col-sm-2">
                                    <input id="name" name="user_name" type="text" class="form-control" value='10'  readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">密码：</label>
                                <div class="col-sm-2">
                                    <input id="phone" type="password" class="form-control" name="password" value='888888'>
                                </div>
                            </div>
                            
                            <!--<div class="form-group">
                                <label class="col-sm-3 control-label">账号类型：</label>
                                <div class="col-sm-2">
                                   <select class="form-control">
                                   		<option value="1">业务员</option>
                                        <option value="2">采购员</option>
                                        <option value="3">子管理员</option>
                                        <option value="4">总管理员</option>
                                   </select>
                                </div>
                            </div>-->
                            <div class="form-group">
                                <label class="col-sm-3 control-label">权限设置：</label>
                                <div class="col-sm-2">
                                    <table border="1px solid green" width="550px" height="250px" style="text-align:center;">
                                    	<tr>
                                        	<td>产品管理</td>
                                            <td style="text-align:left;text-indent:10px;">
                                            	<input type="checkbox" name="product_add" >成本价查看权</input>
                                                <input type="checkbox" name="product_del" >供应商查看权</input>
                                            </td>
                                        </tr>
                                    	<tr>
                                        	<td>订单建立</td>
                                        	<td style="text-align:left;text-indent:10px;">
                                            	<input type="checkbox" name="order_set_add" >全部业务员订单情况</input>
                                                <input type="checkbox" name="order_set_add" >本人订单情况</input>
                                            </td>
                                        </tr>
                                        <tr>
                                        	<td>产品采购</td>
                                        	<td style="text-align:left;text-indent:10px;">
                                            	<input type="checkbox" name="purchase_add" >全部采购员业务情况</input>
                                                <input type="checkbox" name="order_set_add" >本人采购业务情况</input>
                                            </td>
                                        </tr>
                                        <tr>
                                        	<td>订单管理</td>
                                        	<td style="text-align:left;text-indent:10px;">
                                            	<input type="checkbox" name="order_add" >登录权限</input>
                                            </td>
                                        </tr>
                                        <tr>
                                        	<td>数据管理</td>
                                        	<td style="text-align:left;text-indent:10px;">
                                            	<input type="checkbox" name="data_add" >登录权限</input>
                                            </td>
                                        </tr>
                                        <tr>
                                        	<td>系统设置</td>
                                        	<td style="text-align:left;text-indent:10px;">
                                            	<input type="checkbox" name="settings_add" >完全登录权限</input>
                                                <input type="checkbox" name="settings_del" >权有供应商登录管理权限</input>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-3">
                                	<input type="submit" value='提交'  class="btn btn-primary"  id='submit'/>
                                   <input type='reset' class="btn btn-primary">
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="__PUBLIC__/js/jquery.min63b9.js?v=2.1.4"></script>
	<script src="__PUBLIC__/js/bootstrap.min14ed.js?v=3.3.6"></script>
    <script src="__PUBLIC__/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="__PUBLIC__/js/content.mine209.js?v=1.0.0"></script>
    <script src="__PUBLIC__/js/plugins/iCheck/icheck.min.js"></script>
    <script src="__PUBLIC__/js/demo/peity-demo.min.js"></script>
    
    <script src="__PUBLIC__/js/plugins/layer/laydate/laydate.js"></script>
    <script src="__PUBLIC__/js/plugins/jquery.tablesort.min.js"></script>
   


</body>
<!--Made By kailuosoft.com, TEL 171 9992 9517 -->
<script  type="text/javascript"  src="http://g.tbcdn.cn/sj/securesdk/0.0.3/securesdk_v2.js"  id="J_secure_sdk_v2" data-appkey="23416550"></script>
</html>
